SRCS := $(wildcard *.cpp)
OUTS := $(patsubst %.cpp,%,$(SRCS))
CXX := g++
COM_OP := -std=c++11 -Wall -g -lpthread -llog4cpp -lwfrest -lworkflow

.PHONY: clean rebuild all

all: $(OUTS)

% : %.cpp
	$(CXX) $^ -o $@ $(COM_OP)

clean:
	$(RM) $(OUTS)

rebuild: clean all
